package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.MachineryInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 设备信息
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-10-06 01:11:04
 */
public interface MachineryInfoService {
	
	MachineryInfoEntity queryObject(Integer id);
	
	List<MachineryInfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(MachineryInfoEntity machineryInfo);
	
	void update(MachineryInfoEntity machineryInfo);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
